#include <iostream>
#define PI 3.14159
int main() {
   int R;
   float x;
    scanf("%d",&R);
    x=(4/3.0)*PI*R*R*R;
    printf("%.3lf",x);
    return 0;
}
